<template>
  <tm-app ref="app">
    <tm-navbar title="奥集能" hide-home> </tm-navbar>
    <tm-button label="网络请求" block @click="jumpPage('/pages/Work/work')"></tm-button>
    <tm-button label="不同按钮"></tm-button>
    基本目录demo
  </tm-app>
</template>

<script lang="ts" setup>
//@ts-nocheck
// import { ref, getCurrentInstance, nextTick } from 'vue'
// import { onShow, onLoad, onInit } from '@dcloudio/uni-app'

const jumpPage = (path: string) => {
  uni.switchTab({ url: path })
}
// const { proxy } = getCurrentInstance()
</script>
